package com.tengju.bff.interfaces.covercharge.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;

/**
 * @author shiliang
 * @date 2020.06.12 16:21
 * @description
 */
public interface NotifyService {

    /**
     * 验签
     *
     * @return 业务结果
     */
    HashMap signVerify(Object reqObject, HttpServletRequest request);


    /**
     * 业务执行
     */
    void executeBiz(String bizOrderNo, HashMap resultBizMap);

    /**
     * 输出返回结果
     *
     * @param isSuccess 是否响应成功
     * @param resp      响应结果
     */
    void writerReturn(Boolean isSuccess, HttpServletResponse resp);


}
